mapImageList = [
	[18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18],
	[18, 18, 18, 18, 18, 19, 18, 18, 18, 18, 18, 18, 18, 18, 18],
	[18, 18, 18, 18, 19, 19, 17, 17, 22, 23, 24, 17, 18, 18, 18],
	[18, 18, 18, 19, 19, 17, 17, 17, 25, 26, 27, 17, 18, 18, 18],
	[18, 18, 17, 17, 17, 17, 17, 17, 17, 16, 17, 17, 18, 18, 18],
	[18, 17, 17, 17, 17, 17, 17, 17, 17, 16, 17, 17, 17, 18, 18],
	[18, 16, 16, 16, 16, 17, 17, 17, 17, 16, 17, 17, 17, 17, 18],
	[18, 16, 17, 17, 16, 16, 16, 17, 17, 16, 17, 17, 17, 17, 18],
	[18, 16, 17, 17, 17, 17, 16, 17, 17, 16, 17, 17, 17, 17, 17],
	[18, 16, 16, 16, 17, 17, 16, 16, 16, 16, 17, 17, 17, 17, 17],
	[18, 17, 17, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18],
	[18, 17, 17, 16, 16, 16, 16, 17, 17, 17, 17, 19, 19, 18, 18],
	[18, 17, 17, 17, 17, 17, 16, 17, 17, 19, 19, 19, 18, 18, 18],
	[18, 16, 16, 16, 16, 16, 16, 17, 17, 19, 19, 18, 18, 18, 18],
	[18, 16, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18]
]

terrainList = [
	[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
	[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
	[2, 2, 2, 2, 2, 2, 0, 0, 2, 2, 2, 0, 2, 2, 2],
	[2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 0, 2, 2, 2],
	[2, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 2, 2],
	[2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 2],
	[2, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2],
	[2, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 2],
	[2, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0],
	[2, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0],
	[2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2],
	[2, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 2, 2, 2, 2],
	[2, 0, 0, 0, 0, 0, 1, 0, 0, 2, 2, 2, 2, 2, 2],
	[2, 1, 1, 1, 1, 1, 1, 0, 0, 2, 2, 2, 2, 2, 2],
	[2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
]